package com.yidu.sanrenxing.crudall.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购表
 */
public class Purchase implements Serializable {
    private int purid;

    private int comid;

    private Date purdate;

    private int purnum;

    private BigDecimal purprice;

    private String purvender;

    private int userid;

    private static final long serialVersionUID = 1L;

    public int getPurid() {
        return purid;
    }

    public void setPurid(int purid) {
        this.purid = purid;
    }

    public int getComid() {
        return comid;
    }

    public void setComid(int comid) {
        this.comid = comid;
    }

    public Date getPurdate() {
        return purdate;
    }

    public void setPurdate(Date purdate) {
        this.purdate = purdate;
    }

    public int getPurnum() {
        return purnum;
    }

    public void setPurnum(int purnum) {
        this.purnum = purnum;
    }

    public BigDecimal getPurprice() {
        return purprice;
    }

    public void setPurprice(BigDecimal purprice) {
        this.purprice = purprice;
    }

    public String getPurvender() {
        return purvender;
    }

    public void setPurvender(String purvender) {
        this.purvender = purvender == null ? null : purvender.trim();
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }
}